12. Sizing and Capacity Planning

12.1 Sizing Principles

The chart defaults are functional baselines, not production sizing profiles. Operators should define resources, persistence sizes, retention, and backup capacity based on expected usage.

Recommended actions:

  • define CPU and memory requests for critical workloads

  • size PVCs for growth

  • monitor actual utilization after deployment

  • load test with representative traffic

  • treat external managed dependencies as experimental until qualified for the target environment

12.2 Major Sizing Dimensions

Plan capacity for:

  • application CPU and memory

  • PostgreSQL storage and IOPS

  • Keycloak startup and memory usage

  • object storage growth

  • NATS JetStream persistence

  • observability logs, metrics, and traces

  • backup storage and retention

12.3 Application Resource Drivers

Application resource usage depends on:

  • concurrent users

  • API request volume

  • studio and builder activity

  • file upload and download patterns

  • logging and telemetry volume

Watch these workloads first:

  • studioBackend

  • dataBuilderBackend

  • processBuilderBackend

  • fileStorageService

12.4 Bundled Dependency Resource Drivers

Bundled dependencies add resource and storage demand:

  • PostgreSQL needs durable storage and write capacity.

  • Keycloak needs memory and database reachability.

  • NATS needs disk for JetStream.

  • RustFS grows with uploaded objects.

  • Vault adds operational and recovery requirements.

  • LGTM storage grows with logs and telemetry.

12.5 Evaluation vs. Production Sizing

Evaluation deployments commonly use:

  • single replicas

  • bundled dependencies

  • small PVCs

  • minimal external integrations

Production-style deployments usually need:

  • explicit resource requests and limits

  • larger PVCs or external services

  • tested backup and restore

  • central observability or carefully sized LGTM

  • experimental external PostgreSQL and managed object storage only after controlled validation

12.6 Resource Sizing Examples

Starting point for core services:

Kopieren
components:
  studioBackend:
    replicaCount: 1
    resources:
      requests:
        cpu: 250m
        memory: 512Mi
      limits:
        cpu: "1"
        memory: 1Gi
    cliInit:
      resources:
        requests:
          cpu: 100m
          memory: 256Mi
        limits:
          cpu: 500m
          memory: 512Mi
  dataBuilderBackend:
    replicaCount: 1
    resources:
      requests:
        cpu: 250m
        memory: 512Mi
      limits:
        cpu: "1"
        memory: 1Gi
  fileStorageService:
    replicaCount: 1
    resources:
      requests:
        cpu: 200m
        memory: 512Mi
      limits:
        cpu: "1"
        memory: 1Gi

The CLI initializer is short-lived, but it starts a JVM and uploads the embedded Studio initialization package. Give it explicit resources when namespace quotas or tight node capacity could otherwise delay installation.

12.7 Storage Sizing

Example bundled dependency sizes:

Kopieren
postgres:
  persistence:
    size: 100Gi

keycloak:
  persistence:
    size: 20Gi

nats:
  persistence:
    size: 20Gi

s3:
  rustfs:
    persistence:
      size: 250Gi

Size PostgreSQL for data growth, migration overhead, and backups. Size RustFS or filesystem storage for uploaded content and retention. Size NATS for message retention and replay expectations.

12.8 Replicas and Availability

Running multiple replicas of IX25 application services is currently not supported. Keep replicaCount set to 1 for every service. Support for multiple replicas is planned for the near future.

Kopieren
components:
  studioBackend:
    replicaCount: 1
  appBuilderBackend:
    replicaCount: 1
  appPortalBackend:
    replicaCount: 1

Do not use replicaCount for horizontal scaling until multi-replica support is released. For stateful resilience, use a dedicated HA strategy; external managed services are currently an experimental integration path.

12.9 Single-Node vs. Multi-Node Clusters

Single-node clusters are suitable for evaluation and small non-production environments. They have limited fault tolerance and all bundled dependencies compete for the same node resources.

Multi-node clusters are better for production, but validate storage attachment, scheduling, and node maintenance behavior. The chart does not currently provide a complete HA policy set such as topology spread defaults for every workload.

12.10 When to Externalize Dependencies

Externalizing dependencies is experimental. Evaluate this path when you need to validate:

  • managed PostgreSQL backup and HA

  • hardened Vault operations

  • enterprise object storage

  • independent platform lifecycle management

  • better operational isolation between application and platform services

12.11 Capacity Review Checklist

Before production rollout, confirm:

  • resource requests exist for critical services

  • PVCs are sized for expected growth

  • storage class performance matches database and messaging needs

  • observability retention is intentional

  • backup storage can handle retention targets

  • the cluster has headroom during maintenance or node loss